home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 21
/
PC Gamer IT CD 21.iso
/
patches
/
pchess3b.exe
/
SIERRA.INF
< prev
Wrap
INI File
|
1997-04-10
|
9KB
|
328 lines
; FLAG0 TRUE if in Win3.1 (non-Win32 system)
; FLAG1 TRUE if user wants HD version installed.-- no HD version for pchess
; FLAG2 TRUE if WinG needs to be installed
; FLAG3 TRUE if user wants to register.
; FLAG4 TRUE if WinG failed to install
; FLAG5 TRUE if VFW needs to be installed
; FLAG6 TRUE if VFW failed to install
; FLAG9 TRUE if user wants to restart now.
;
; FLAG20 TRUE if Internet setup registry value >=300 already
; FLAG21 TRUE if System not ready for internet play
; FLAG22 TRUE if registry value was below 300, need to restart PC
;
; FLAG32
; FLAG33
; FLAG34
; FLAG35 DrBrain
; FLAG36
; FLAG37
; FLAG38
;
; FLAG40 copy preview files to HD
; FLAG41 copy demo files to HD
;
; FLAG49 TRUE if dsound.dll
; FLAG52 TRUE if user wants to upgrade to directX 2.0
;
; FLAG66 TRUE if the Font PCHESS_.FON is already installed
;
; FLAG98 TRUE if File Exists
; FLAG99 TRUE if Version Check
[Ident]
Version=0901
ProductID=83123
PatchVersion=1.0.0.6
;1.0.0.1 Release
;1.0.0.5 Patch 1
;1.0.0.6 Patch B (English)
;1.0.0.7 French release
Webpage=http://www.sierra.com/entertainment/powerchess/
[Script]
:Begin
RESETFLAGS
;
;
DIALOG PickDemosDialog
;
PICKDEST End
;FLAG32 TOGGLEGROUPON 2
;FLAG33 TOGGLEGROUPON 3
;FLAG34 TOGGLEGROUPON 4
FLAG35 TOGGLEGROUPON 5
;FLAG36 TOGGLEGROUPON 6
;FLAG37 TOGGLEGROUPON 7
;FLAG38 TOGGLEGROUPON 8
;
;
; Check to see if the font PCHESS_.FON is there.
EXIST *WINFONTDIR\PCHESS_.FON FLAG66
; If it is there then we need to toggle another file
FLAG66 GOTO FontReplace
; Otherwise toggle the font
TOGGLEGROUPON 66
GOTO ContinueCopy
:FontReplace
TOGGLEGROUPON 67
; Tell windows to do the reboot replacement
ADDTOINI *WINDOWSDIR\WININIT.INI, rename, NUL, *WINFONTDIR\PCHESS_.FON
ADDTOINI *WINDOWSDIR\WININIT.INI, rename, C:\WINDOWS\FONTS\PCHESS_.FON, *WINFONTDIR\PCHESS_.TMP
;
:ContinueCopy
COPY
ADDPROGMANGROUP Sierra\Power Chess
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupText, *SIERRADIR\SETUP.EXE, *SIERRADIR
ADDPROGMANITEM *DESTDIR\PChess.exe, Title, *DESTDIR\pchess.ICO
ADDPROGMANITEM *DESTDIR\manual.doc, PChessManualTitle
;
;FLAG32 ADDPROGMANITEM *SOURCEDIR\HOYLE5\Win95nt.exe, HoyleDemoTitle, *DESTDIR\Demo.ico
;FLAG33 ADDPROGMANITEM *SOURCEDIR\RAMA\autoplay.exe, RamaDemoTitle, *DESTDIR\sierra.ico
;FLAG37 ADDPROGMANITEM *SOURCEDIR\ADI5DEMO\adi5-95.exe, SchoolHouseDemoTitle, *DESTDIR\adi.ico
;FLAG38 ADDPROGMANITEM *SOURCEDIR\PA4Demo\Pa12w95.exe, PA4DemoTitle, *DESTDIR\PA40.ico
;
;FLAG34 ADDPROGMANITEM *SOURCEDIR\TIMDEMO\timdemo.exe, IM3DemoTitle, *DESTDIR\timdemo.ico
;FLAG35 ADDPROGMANITEM *SOURCEDIR\Demo\DRBRAIN\Autorun.exe, DrBrain4DemoTitle, *DESTDIR\brain4.ico
;FLAG36 ADDPROGMANITEM *SOURCEDIR\CSTORM\cstorm.exe, MissionDemoTitle, *DESTDIR\cstorm.ico
;
ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, CDPath, *SOURCEDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, CD2Path, *SOURCEDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, InternetReady, 1
; -- Internet patch & register files --
; Running Sigsreg per SIGS instructions. File sets windows maxsocket=300
;
RUN 0 *SOURCEDIR\sigsreg.exe *SOURCEDIR\sigsreg.exe
;
;check for existance of DirectX
EXIST *SYSTEMDIR\DSOUND.DLL FLAG98
FLAG98 GOTO CHECKVERSION
RUN 0 *SOURCEDIR\DSETUP.EXE *SOURCEDIR\DSETUP.EXE
GOTO ASKRESTART
;
:CHECKVERSION
VERSIONCHECK *SYSTEMDIR\dsound.dll 4.3 FLAG99
;
; For debugging
;VERSIONCHECK *SYSTEMDIR\dsound.dll 4.4 FLAG99
;
FLAG99 GOTO NEWVERSION
;DIALOG WarnDirectX
GOTO DOREGISTER
;
:NEWVERSION
; Need to install new version of DirectX
DIALOG OldDX
FLAG52 GOTO NEWVERINST
GOTO DOREGISTER
;
:INSTALLDX
; Ask user if they want to install DirectX
DIALOG InstallDX
FLAG51 GOTO NEWVERINST
GOTO DOREGISTER
;
:NEWVERINST
RUN 0 *SOURCEDIR\DSETUP.EXE *SOURCEDIR\DSETUP.EXE
GOTO DOREGISTER
;
;
:DOREGISTER
DIALOG Register
FLAG3 REGISTER
;
; Check if we probably updated system files.
;
EXIST *WINDOWSDIR\Sigsreg.ok FLAG20
EXIST *WINDOWSDIR\Sigsreg.fal FLAG21
EXIST *WINDOWSDIR\Sigsreg.rst FLAG22
; add to the INI file the result of the above test
FLAG21 ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, InternetReady, 0
FLAG20 ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, InternetReady, 1
FLAG22 ADDTOINI *WINDOWSDIR\SIERRA.INI, PowChess, InternetReady, 1
;
; delete the above files
FLAG20 DELETEFILE *WINDOWSDIR\SIGSReg.OK
FLAG21 DELETEFILE *WINDOWSDIR\SIGSReg.FAL
FLAG22 DELETEFILE *WINDOWSDIR\SIGSReg.RST
;
;-- -- ---
;FLAG22 GOTO ASKRESTART
;FLAG51 GOTO ASKRESTART
;FLAG52 GOTO ASKRESTART
GOTO ASKRESTART
GOTO AFTERRESTART
;
; Since system files were installed, user MUST restart their system.
; Prompt user that their system needs to be restarted.
;:AFTERRESTART
:ASKRESTART
DIALOG Restart
FLAG9 RESTARTWINDOWS
:AFTERRESTART
;
DIALOG AllDone
:End
END
[Requirements]
WinVer=395
CPU=Pentium-60
Colors=256
Wave=1
MIDI=0
CDROM=2
ScreenWidth=640
ScreenHeight=480
MemKB=4096
PhysicalMem=7680
VideoSpeed=200
[Archives]
wing.sol,1,0,1
POWCHESS\,1,0,1
;DEMO\DRBRAIN\,1,0,0
[Files]
*DESTDIR\bdwin95.txt ,NOARCHIVE ,1 ,10730 ,1
*DESTDIR\bopen.bk ,NOARCHIVE ,1 ,1204224 ,1
*WINDOWSDIR\SOLCache\ch01.dib ,NOARCHIVE ,1 ,17974 ,1
*DESTDIR\helpform.txt ,NOARCHIVE ,1 ,1303 ,1
*DESTDIR\hitman.exe ,NOARCHIVE ,1 ,12800 ,1
*DESTDIR\king.exe ,NOARCHIVE ,1 ,243669 ,1
*DESTDIR\kingbk.bin ,NOARCHIVE ,1 ,2 ,1
*DESTDIR\manual.doc ,NOARCHIVE ,1 ,38400 ,1
*DESTDIR\manuel.doc ,NOARCHIVE ,1 ,38400 ,1
*SYSTEMDIR\mfc42.dll ,NOARCHIVE ,1 ,1011472 ,1
*SYSTEMDIR\msvcirt.dll ,NOARCHIVE ,1 ,74752 ,1
*SYSTEMDIR\msvcrt.dll ,NOARCHIVE ,1 ,266240 ,1
*DESTDIR\openbk.bin ,NOARCHIVE ,1 ,203256 ,1
*DESTDIR\PCHESS.EXE ,NOARCHIVE ,1 ,1024000 ,1
*DESTDIR\PCHESS.ICO ,NOARCHIVE ,1 ,766 ,1
*WINFONTDIR\PCHESS__.FON ,NOARCHIVE ,1 ,7792 ,0 ,66
*WINFONTDIR\PCHESS__.TMP ,NOARCHIVE ,1 ,7792 ,0 ,67
*DESTDIR\queen.exe ,NOARCHIVE ,1 ,241478 ,1
*DESTDIR\queenbk.bin ,NOARCHIVE ,1 ,203256 ,1
*DESTDIR\QUICK2D.CFG ,NOARCHIVE ,1 ,736 ,1
*DESTDIR\QUICK3D.CFG ,NOARCHIVE ,1 ,744 ,1
*DESTDIR\README.WRI ,NOARCHIVE ,1 ,135168 ,1
*DESTDIR\run386.exe ,NOARCHIVE ,1 ,188132 ,1
*SYSTEMDIR\sierranw.dll ,NOARCHIVE ,1 ,507392 ,1
*SIERRADIR\sigspat.exe ,NOARCHIVE ,1 ,185856 ,1
*SYSTEMDIR\snwvalid.dll ,NOARCHIVE ,1 ,218112 ,1
*SYSTEMDIR\snwvalid.hlp ,NOARCHIVE ,1 ,49819 ,1
*DESTDIR\SYNC.BAG ,NOARCHIVE ,1 ,54547 ,1
*DESTDIR\SYNCF.BAG ,NOARCHIVE ,1 ,36915 ,1
*DESTDIR\vars.txt ,NOARCHIVE ,1 ,451 ,1
*DESTDIR\USER.CFG ,NOARCHIVE ,1 ,88 ,1
*DESTDIR\WINPOS.CFG ,NOARCHIVE ,1 ,160 ,1
*DESTDIR\wopen.bk ,NOARCHIVE ,1 ,389120 ,1
;
*SYSTEMDIR\DVA.386 ,wing.sol ,1966 ,1
*SYSTEMDIR\WING.DLL ,wing.sol ,92208 ,1
*SYSTEMDIR\WING32.DLL ,wing.sol ,12800 ,1
*SYSTEMDIR\WINGDE.DLL ,wing.sol ,188960 ,1
*SYSTEMDIR\WINGDIB.DRV ,wing.sol ,6736 ,1
*SYSTEMDIR\WINGPAL.WND ,wing.sol ,5024 ,1
*SYSTEMDIR\DISPDIB.DLL ,wing.sol ,7168 ,1
;
;*DESTDIR\Demo.ico ,HOYLE5\ ,1 ,2 ,0 ,2
;*DESTDIR\sierra.ico ,RAMA\ ,1 ,1 ,0 ,3
;*DESTDIR\TIMDEMO.ico ,TIMDEMO\ ,1 ,1 ,0 ,4
;*DESTDIR\Brain4.ico ,DEMO\DRBRAIN\ ,1 ,1 ,0 ,5
;*DESTDIR\Cstorm.ico ,CSTORM\ ,1 ,1 ,0 ,6
;*DESTDIR\Adi.ico ,ADI5DEMO\ ,1 ,1 ,0 ,7
;*DESTDIR\Pa40.ico ,PA4Demo\ ,1 ,1 ,0 ,8
;
[Setup]
SetupSize=750
ForceLanguage=FRENCH
CanInstallDOS=No
;Debug=TRUE
[Dialogs]
BEGIN 1, InstallDX
InstallDXTitle
1, InstallDXPrompt
1, InstallDXPrompt1
1, InstallDXPrompt2
10, YESText, (), FLAG51
13, NOText
END
;
BEGIN 2, PickDemosDialog
PickEmTitle
1, PickEmText1
1, PickEmText2
1, SpaceText
1, PickEmText3
;2, HoyleDemoTitle, (), FLAG32
;2, RamaDemoTitle, (), FLAG33
;2, SchoolHouseDemoTitle, (), FLAG37
;2, PA4DemoTitle, (), FLAG38
1, SpaceText
1, PickEmText4
;2, IM3DemoTitle, (), FLAG34
;2, MissionDemoTitle, (), FLAG36
2, DrBrain4DemoTitle, (), FLAG35
1, SpaceText
1, SpaceText
10, OK
11, CANCEL
1, SpaceText
END
;
BEGIN 3, OldDX
OldDXTitle
1, OldDXPrompt
10, YESText, (), FLAG52
13, NOText
END
;
BEGIN 5, Register
RegisterTitle
1, RegisterPrompt1
10, YESText, (), FLAG3
13, NOText
END
;
BEGIN 6, AllDone
AllDoneTitle
1, AllDonePrompt1
10, OKText
END
;
BEGIN 7, FailedWinG
FailTitleWinG
1, FailTextWinG
10, OKText
END
;
BEGIN 8, Restart
InstallationComplete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
;
BEGIN 9, WarnDirectX
DirectWarn
1,DirectWarn1
1,DirectWarn2
1,DirectWarn3
10, OKText
END
;
BEGIN 10, FailedVFW
FailTitleVFW
1, FailTextVFW
10, OKText
END
[Misc]
SourceDir=\\SHOP\H1\GAMES\CHESS\ENGLISH\INSTALL\